package javacore.fundamentals.accessmodifier.protct;

public class AccessingProtected {
	public static void main(String[] args) {
		AllProtected p = new AllProtected("Super man", 100.000d);
		System.out
				.println("Wow i can access directly info of super man because i'm in the same room with him: "
						+ p.name + " " + p.money);
		p.printInfo();
	}
}
